package demo.sicau.votesystem.service;

import demo.sicau.votesystem.entity.PO.UserPO;
import demo.sicau.votesystem.entity.VO.ResultVO;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    ResultVO getAllUser();

    ResultVO login(int role,String username, String password, HttpServletRequest request);

    ResultVO getUser(int page, int limit);

    ResultVO deleteUserById(String uid);

    ResultVO addUser(UserPO userPO);

    ResultVO updateUser(UserPO userPO);
}
